package com.jyk.blog.po;

public class Comment {
    private int nid;
    private String content;
    private String public_time;
    private int blog_id;
    private int user_id;

    public Comment() {
    }

    public Comment(String content, String public_time, int blog_id, int user_id) {
        this.content = content;
        this.public_time = public_time;
        this.blog_id = blog_id;
        this.user_id = user_id;
    }

    public int getNid() {
        return nid;
    }

    public void setNid(int nid) {
        this.nid = nid;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getPublic_time() {
        return public_time;
    }

    public void setPublic_time(String public_time) {
        this.public_time = public_time;
    }

    public int getBlog_id() {
        return blog_id;
    }

    public void setBlog_id(int blog_id) {
        this.blog_id = blog_id;
    }

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    @Override
    public String toString() {
        return "Comment{" +
                "nid=" + nid +
                ", content='" + content + '\'' +
                ", public_time='" + public_time + '\'' +
                ", blog_id=" + blog_id +
                ", user_id=" + user_id +
                '}';
    }
}
